[INFO] fetching crate gotham_middleware_diesel 0.1.2...
[INFO] checking gotham_middleware_diesel-0.1.2 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate gotham_middleware_diesel 0.1.2 into /workspace/builds/worker-8/source
[INFO] validating manifest of crates.io crate gotham_middleware_diesel 0.1.2 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate gotham_middleware_diesel 0.1.2
[INFO] finished tweaking crates.io crate gotham_middleware_diesel 0.1.2
[INFO] tweaked toml for crates.io crate gotham_middleware_diesel 0.1.2 written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 06fd52c8212a394a44106ead80838bac7bae59a6b101f2569ee63ac467ad85cd
[INFO] running `Command { std: "docker" "start" "-a" "06fd52c8212a394a44106ead80838bac7bae59a6b101f2569ee63ac467ad85cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06fd52c8212a394a44106ead80838bac7bae59a6b101f2569ee63ac467ad85cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06fd52c8212a394a44106ead80838bac7bae59a6b101f2569ee63ac467ad85cd", kill_on_drop: false }`
[INFO] [stdout] 06fd52c8212a394a44106ead80838bac7bae59a6b101f2569ee63ac467ad85cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b41c5d3e6e0ae669780a25601ec480d91021cb1b7170c03231ac9037e26f03a9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b41c5d3e6e0ae669780a25601ec480d91021cb1b7170c03231ac9037e26f03a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]     Checking arc-swap v0.4.7
[INFO] [stderr]     Checking instant v0.1.6
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]     Checking hashbrown v0.9.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]    Compiling anyhow v1.0.32
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking either v1.6.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking linked-hash-map v0.5.3
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking tracing-core v0.1.16
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking lock_api v0.4.1
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling standback v0.2.10
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling time v0.2.19
[INFO] [stderr]    Compiling cookie v0.14.2
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking tracing v0.1.19
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling pulldown-cmark v0.2.0
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]    Compiling libsqlite3-sys v0.18.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking net2 v0.2.35
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.2.1
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking parking_lot_core v0.8.0
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking socket2 v0.3.15
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking mio v0.7.0
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking parking_lot v0.11.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.5
[INFO] [stderr]     Checking r2d2 v0.8.9
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking chrono v0.4.15
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking bincode v1.3.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling gotham_derive v0.5.0
[INFO] [stderr]     Checking time-macros v0.1.0
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]    Compiling cargo_metadata v0.6.4
[INFO] [stderr]    Compiling skeptic v0.13.4
[INFO] [stderr]     Checking diesel v1.4.5
[INFO] [stderr]     Checking h2 v0.2.6
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]    Compiling borrow-bag v1.0.0
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking hyper v0.13.7
[INFO] [stderr]     Checking gotham v0.5.0
[INFO] [stderr]     Checking gotham_middleware_diesel v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0053]: method `new_middleware` has an incompatible type for trait
[INFO] [stdout]    --> src/lib.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 |     fn new_middleware(&self) -> io::Result<Self::Instance> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `gotham::anyhow::Error`, found struct `std::io::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(&DieselMiddleware<T>) -> std::result::Result<_, gotham::anyhow::Error>`
[INFO] [stdout]                found fn pointer `fn(&DieselMiddleware<T>) -> std::result::Result<_, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gotham_middleware_diesel`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0053]: method `new_middleware` has an incompatible type for trait
[INFO] [stdout]    --> src/lib.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 |     fn new_middleware(&self) -> io::Result<Self::Instance> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `gotham::anyhow::Error`, found struct `std::io::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(&DieselMiddleware<T>) -> std::result::Result<_, gotham::anyhow::Error>`
[INFO] [stdout]                found fn pointer `fn(&DieselMiddleware<T>) -> std::result::Result<_, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "b41c5d3e6e0ae669780a25601ec480d91021cb1b7170c03231ac9037e26f03a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b41c5d3e6e0ae669780a25601ec480d91021cb1b7170c03231ac9037e26f03a9", kill_on_drop: false }`
[INFO] [stdout] b41c5d3e6e0ae669780a25601ec480d91021cb1b7170c03231ac9037e26f03a9
